<?php

class Rule_Int extends Rule_Abstract
{
	public $_config = array('msg' => 'Not integer');
	
    public function isValid($value, $params = null)
    {
        return filter_var($value, FILTER_VALIDATE_INT);
    }
}
